﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using WarehouseManager.View;

namespace QuanLyThuVien.View
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void thoátToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Bạn có muốn thoát không ", "Thông Báo", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1) == DialogResult.OK)
            {
                Application.Exit();
            }
        }

        
        private void xuatToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
            FormNhapHang formNhaphang = new FormNhapHang();
            formNhaphang.Show();
        }

        private void thốngKêKhoToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void độcGiảToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormXuatHang formXuathang = new FormXuatHang();
            formXuathang.Show();
        }

        private void thôngTinKiểmKêToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormHanghoa formHanghoa = new FormHanghoa();
            formHanghoa.Show();
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            FormNhanvien formNhanvien = new FormNhanvien();
            formNhanvien.Show();
        }
    }
}
